﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.Data;
using IToursDataService.Models;

namespace IToursDataService
{
    // 注意: 使用“重构”菜单上的“重命名”命令，可以同时更改代码和配置文件中的接口名“ILocalTeamGroupCtrl”。
    [ServiceContract]
    public interface ILocalTeamGroupCtrl
    {
        [OperationContract]
        int CopyTourGroupSchedule2LocalSchedule(string scheduleIds, string ownerProviderId);
        [OperationContract(Name = "GetLocalPlanScheduleWithPNum")]
        DataTable GetLocalPlanSchedule(string tourGroupID, string loginProviderID, int pageNumber);
        [OperationContract(Name = "GetLocalPlanScheduleWithTIDAndLID")]
        DataSet GetLocalPlanSchedule(string tourGroupID, string loginProviderID);
        [OperationContract]
        object GetOperationNumberForTravel(string tourGroupId, string ownerProviderId);
        [OperationContract]
        int CopyTourGroupRemark2LocalRemark(string tourGroupId);
        [OperationContract]
        int GetLocalPlanSchedulePageNumbers(string tourgroupId);
        [OperationContract]
        DataTable GetLocalPlanScheduleForBillPrint(string tourGroupID, int pageNumber, string ownerProviderId);
        [OperationContract]
        DataTable GetLocalPlanScheduleForPrint(string tourGroupID, int pageNumber, string ownerProviderId);
        [OperationContract]
        int UpdateLocalTourGroupSchedule(ProvidersPlanSchedule scheduleData);
        [OperationContract]
        int DeleteLocalTourGroupSchedule(int localPlanScheduleId);
        [OperationContract]
        int CreateLocalTourGroupSchedule(ProvidersPlanSchedule entity);
        [OperationContract]
        int UpdateOperationNumberForTravel(string tourgroupId, string operationNumber, string ownerProviderID);

    }
}
